
package com.asp.aspchain.core.model;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import org.apache.commons.lang3.builder.ReflectionToStringBuilder;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 *
 * @author aspire
 * @Date 2018-12-06 09:42
 */
@TableName("t_abc_asset_apply")
public class AssetApplyModel extends Model<AssetApplyModel> {

    private static final long serialVersionUID = 1L;

    /**
     * ZLA+自增长
     * 
     */
    @TableId(value = "assetid", type = IdType.INPUT)
    private String assetid;
    /**
     * 创建时间
     * 
     */
    private Date createtime;
    /**
     * 更新时间
     * 
     */
    private Date updatetime;
    /**
     * 区块链账户
     * 
     */
    private String accountid;
    /**
     * 资产存储账户
     * 
     */
    private String saccountid;
    /**
     * IPFS自建的IPFS存储;SWARM 自建的SWARM存储;FASTDFS 自建的FASTDFS; OTHER 其他第三方的存储;
     * 
     */
    private String storetype;
    /**
     * 资产存储的URL
     * 
     */
    private String asseturl;
    /**
     * app号
     * 
     */
    private Integer appid;

    public String getAssetid() {
           return assetid;
    }

    public void setAssetid(String assetid) {
     	this.assetid = assetid;
    }

    public Date getCreatetime() {
           return createtime;
    }

    public void setCreatetime(Date createtime) {
     	this.createtime = createtime;
    }

    public Date getUpdatetime() {
           return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
     	this.updatetime = updatetime;
    }

    public String getAccountid() {
           return accountid;
    }

    public void setAccountid(String accountid) {
     	this.accountid = accountid;
    }

    public String getSaccountid() {
           return saccountid;
    }

    public void setSaccountid(String saccountid) {
     	this.saccountid = saccountid;
    }

    public String getStoretype() {
           return storetype;
    }

    public void setStoretype(String storetype) {
     	this.storetype = storetype;
    }

    public String getAsseturl() {
           return asseturl;
    }

    public void setAsseturl(String asseturl) {
     	this.asseturl = asseturl;
    }

    public Integer getAppid() {
           return appid;
    }

    public void setAppid(Integer appid) {
     	this.appid = appid;
    }

    @Override
    protected Serializable pkVal() {
           return this.assetid;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this);
    }
}
